Pins the specified source and call an action with the pinned pointer.
シンタックス
'宣言
Public Overloads Shared Sub Pin(Of As {New, Struct})( _
ByRef As , _
ByVal As System.Action(Of IntPtr) _
)
public static void Pin<>(
ref ,
System.Action<IntPtr>
)
where T: new(), struct
パラメータ
- source
- The source.
- pinAction
- The pin action to perform on the pinned pointer.
型パラメータ
- T
- The type of the structure to pin.
参照